<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<?php // /application/controllers/ScheduleController.php?>
<?php
require_once 'ZendPartial/form/FormController.php';
?>
<html>
<head>
<title><?php echo $this->Label[Names::PAGETITLE];?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
.style1 {
	font-family: "ＭＳ ゴシック", "Osaka－等幅";
	font-size: 12px;
}
body,td,th {
	font-family: ＭＳ Ｐゴシック, Osaka, ヒラギノ角ゴ Pro W3;
	font-size: 14px;
}
.style2 {
	font-size: 12px;
	color: #00CC00;
}
.errorfont{
	color:red;
	font-weight:bold;
}
.errorborder{
	border-style: solid;
	border-color:red;
}
-->
</style>

<!-- 地図確認ジャバスクリプト -->
<?php echo $this->Js[Names::ASSEMBLYPLACE];?>
</head>

<body>
<div align="center">
<span class="style1"></span>

<!-- 予定編集フォーム -->
<?php echo $this->Form[Names::YOTEI_EDIT][Names::START]?>
<input type="hidden" name="<?php echo Names::YOTEIID;?>" value="<?php echo $this->YoteiId;?>" />
<input type="hidden" name="<?php echo Names::YOTEIBI;?>" value="<?php echo $this->YoteiBi;?>" />
<input type="hidden" name="<?php echo Lib_Request_DateTime::KEY_YEAR;?>" value="<?php echo $this->Year;?>" />
<input type="hidden" name="<?php echo Lib_Request_DateTime::KEY_MONTH;?>" value="<?php echo $this->Month;?>" />
<input type="hidden" name="<?php echo Lib_Request_DateTime::KEY_DAY;?>" value="<?php echo $this->YoteiBi;?>" />
<table width="720" border="0" cellpadding="0" cellspacing="0">
	<!--DWLayoutTable-->
	<tr>
		<td width="149" height="20">&nbsp;</td>
		<td width="74">&nbsp;</td>
		<td width="10">&nbsp;</td>
		<td width="9">&nbsp;</td>
		<td width="14">&nbsp;</td>
		<!-- 予定日 -->
		<td colspan="8" valign="middle"><div align="center"><?php echo $this->Label[Names::YOTEIBI];?></div></td>
		<td width="23">&nbsp;</td>
		<td width="13">&nbsp;</td>
		<td width="40">&nbsp;</td>
		<td width="195">&nbsp;</td>
	</tr>
	<?php if ($this->changeFlg == TRUE){?>
	<tr>
		<td height="40">&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td colspan="4" valign="middle">
			<div align="center">
				<!-- 予定中止ボタン -->
				<?php echo $this->Form[Names::STOP];?>
			</div>
		</td>
		<td colspan="4" valign="middle">
			<div align="center">
				<!-- 予定削除ボタン -->
				<?php echo $this->Form[Names::DELETE];?>
			</div>
		</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
	<?php }?>
	<tr><td height="5"></td></tr>
	<tr>
		<td height="24">&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td
			colspan="7" valign="middle"
				<?php if ($this->errorName == Names::ASSEMBLYPLACE) {?>
				class="errorborder"
				<?php }?>
			>
			<!-- 集合場所選択メニュー -->
			<?php echo $this->Form[Names::ASSEMBLYPLACE];?>
		</td>
		<!-- 集合場所登録画面リンク -->
		<td colspan="5" valign="middle"><?php echo $this->Form[Names::ADD_ASSEMBLY];?></td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td height="16"></td>
		<td></td>
		<td></td>
		<td>&nbsp;</td>
		<!-- 集合場所をＹ！マップで確認するアンカー -->
		<td colspan="5" valign="top"><a href="#" class="style2" onclick="openMap(this);">集合場所確認</a></td>
		<td width="24"></td>
		<td width="38"></td>
		<td width="4"></td>
		<td width="27"></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td height="40">&nbsp;</td>
		<td
			valign="middle"
				<?php if ($this->errorName == Names::STARTTIMEHOUR){?>
					 class="errorfont"
				<?php }?>
			>
			集合時刻
		</td>
		<td colspan="4" valign="middle">
			<!-- 開始時間メニュー（時） -->
			<?php echo $this->Form[Names::STARTTIMEHOUR];?>
		</td>
		<td width="49" valign="middle">
			<!-- 開始時間メニュー（分） -->
			<?php echo $this->Form[Names::STARTTIMEMINUTE];?>
		</td>
		<td width="29">&nbsp;</td>
		<td
			colspan="3" valign="middle"
				<?php if ($this->errorName == Names::STARTTIMEHOUR){?>
					 class="errorfont"
				<?php }?>
			>
			解散時刻
		</td>
		<td>&nbsp;</td>
		<td colspan="2" valign="middle">
			<!-- 解散時間メニュー（時） -->
			<?php echo $this->Form[Names::ENDTIMEHOUR];?>
		</td>
		<td colspan="2" valign="middle">
			<!-- 解散時間メニュー（分） -->
			<?php echo $this->Form[Names::ENDTIMEMINUTE];?>
		</td>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td height="1"></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td width="18"></td>
		<td></td>
		<td></td>
		<td width="4"></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
	</tr>
</table>
<table width="720" border="0" cellpadding="0" cellspacing="0">
	<!--DWLayoutTable-->
	<tr>
		<td width="100" height="39">&nbsp;</td>
		<td width="71" valign="middle">
			<p
					<?php if($this->errorName == Names::DRAFTAGE){?>
						class="errorfont"
					<?php }?>
				>
				招集学年
			</p>
		</td>
		<td width="20" valign="middle"><?php echo $this->Form[Names::DRAFTAGE]->fetch(0);?></td>
		<td width="50" valign="middle">1年生</td>
		<td width="20" valign="middle"><?php echo $this->Form[Names::DRAFTAGE]->fetch(1);?></td>
		<td width="50" valign="middle">2年生</td>
		<td width="20" valign="middle"><?php echo $this->Form[Names::DRAFTAGE]->fetch(2);?></td>
		<td width="50" valign="middle">3年生</td>
		<td width="20" valign="middle"><?php echo $this->Form[Names::DRAFTAGE]->fetch(3);?></td>
		<td width="50" valign="middle">4年生</td>
		<td width="20" valign="middle"><?php echo $this->Form[Names::DRAFTAGE]->fetch(4);?></td>
		<td width="50" valign="middle"><p>5年生</p></td>
		<td width="20" valign="middle"><?php echo $this->Form[Names::DRAFTAGE]->fetch(5);?></td>
		<td width="50" valign="middle">6年生</td>
		<td width="130">&nbsp;</td>
	</tr>
</table>
<table width="720" border="0" cellpadding="0" cellspacing="0">
	<!--DWLayoutTable-->
	<tr>
		<td width="100" height="40">&nbsp;</td>
		<td width="370" valign="middle">招集目的　
		<?php echo $this->Form[Names::DRAFTPURPOSE][0];?>　
		<?php echo $this->Form[Names::DRAFTPURPOSE][1];?>　
		<?php echo $this->Form[Names::DRAFTPURPOSE][2];?>
		</td>
		<td width="250">&nbsp;</td>
	</tr>
</table>
<table width="720" border="0" cellpadding="0" cellspacing="0">
	<!--DWLayoutTable-->
	<tr>
		<td width="100" height="20">&nbsp;</td>
		<td width="60">&nbsp;</td>
		<td width="560">&nbsp;</td>
	</tr>
	<tr>
		<td height="20">&nbsp;</td>
		<td valign="top"
			<?php if ($this->errorName == Names::NOTICE){?>
				bgcolor="red"
			<?php }?>
		>おしらせ：</td>
		<td rowspan="2" valign="top">
			<!-- おしらせ -->
			<?php echo $this->Form[Names::NOTICE];?>
		</td>
	</tr>
	<tr>
		<td height="66">&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
</table>
<table width="720" border="0" cellpadding="0" cellspacing="0">
	<!--DWLayoutTable-->
	<tr>
		<td width="280" height="34">&nbsp;</td>
		<!-- 登録ボタン -->
		<td width="59" valign="top">
			<?php echo $this->Form[Names::REGIST];?>
		</td>
		<!-- 戻るボタン -->
		<td width="51" valign="top">
			<?php echo $this->Form[Names::BACK];?>
		</td>
		<td width="330">&nbsp;</td>
	</tr>
</table>
<table width="720" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<div style="color: RED; text-align: center;">
<?php if ($this->errorName == Names::ASSEMBLYPLACE) {?>
集合場所を選択してください。
<?php }?>
<?php if ($this->errorName == Names::STARTTIMEHOUR){?>
集合解散時刻が不適切です。
<?php }?>
<?php if($this->errorName == Names::DRAFTAGE){?>
招集学年を選択してください。
<?php }?>
</div>
</td>
</tr>
</table>
<!-- 予定編集フォーム  END-->
<?php echo $this->Form[Names::YOTEI_EDIT][Names::END]?>
</div>

<!-- HIDDEN FORM BLOCK -->
<form name="hiddenblock">
	<?php foreach($this->HIDDEN as $sInputHidden){?>
		<?php echo $sInputHidden;?>
	<?php }?>
</form>
<!-- HIDDEN FORM BLOCK END -->
<script type="text/javascript">
<!--
function <?php echo Names::REGIST?>()
{
	abc="";
}
-->
</script>

</body>
</html>
